{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { TinyColor } from '@ctrl/tinycolor';\nimport { genModalMaskStyle } from '../../modal/style';\nimport { initZoomMotion, initFadeMotion } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent, textEllipsis } from '../../style';\nexport var genBoxStyle = function genBoxStyle(position) {\n  return {\n    position: position || 'absolute',\n    inset: 0\n  };\n};\nexport var genImageMaskStyle = function genImageMaskStyle(token) {\n  var iconCls = token.iconCls,\n    motionDurationSlow = token.motionDurationSlow,\n    paddingXXS = token.paddingXXS,\n    marginXXS = token.marginXXS,\n    prefixCls = token.prefixCls;\n  return _defineProperty({\n    position: 'absolute',\n    inset: 0,\n    display: 'flex',\n    alignItems: 'center',\n    justifyContent: 'center',\n    color: '#fff',\n    background: new TinyColor('#000').setAlpha(0.5).toRgbString(),\n    cursor: 'pointer',\n    opacity: 0,\n    transition: \"opacity \".concat(motionDurationSlow)\n  }, \".\".concat(prefixCls, \"-mask-info\"), Object.assign(Object.assign({}, textEllipsis), _defineProperty({\n    padding: \"0 \".concat(paddingXXS, \"px\")\n  }, iconCls, {\n    marginInlineEnd: marginXXS\n  })));\n};\nexport var genPreviewOperationsStyle = function genPreviewOperationsStyle(token) {\n  var previewCls = token.previewCls,\n    modalMaskBg = token.modalMaskBg,\n    paddingSM = token.paddingSM,\n    imagePreviewOperationDisabledColor = token.imagePreviewOperationDisabledColor,\n    motionDurationSlow = token.motionDurationSlow;\n  var operationBg = new TinyColor(modalMaskBg).setAlpha(0.1);\n  var operationBgHover = operationBg.clone().setAlpha(0.2);\n  return _defineProperty({}, \"\".concat(previewCls, \"-operations\"), Object.assign(Object.assign({}, resetComponent(token)), {\n    display: 'flex',\n    flexDirection: 'row-reverse',\n    alignItems: 'center',\n    color: token.imagePreviewOperationColor,\n    listStyle: 'none',\n    background: operationBg.toRgbString(),\n    pointerEvents: 'auto',\n    '&-operation': {\n      marginInlineStart: paddingSM,\n      padding: paddingSM,\n      cursor: 'pointer',\n      transition: \"all \".concat(motionDurationSlow),\n      '&:hover': {\n        background: operationBgHover.toRgbString()\n      },\n      '&-disabled': {\n        color: imagePreviewOperationDisabledColor,\n        pointerEvents: 'none'\n      },\n      '&:last-of-type': {\n        marginInlineStart: 0\n      }\n    },\n    '&-progress': {\n      position: 'absolute',\n      left: {\n        _skip_check_: true,\n        value: '50%'\n      },\n      transform: 'translateX(-50%)'\n    },\n    '&-icon': {\n      fontSize: token.imagePreviewOperationSize\n    }\n  }));\n};\nexport var genPreviewSwitchStyle = function genPreviewSwitchStyle(token) {\n  var _$concat$concat, _ref3;\n  var modalMaskBg = token.modalMaskBg,\n    iconCls = token.iconCls,\n    imagePreviewOperationDisabledColor = token.imagePreviewOperationDisabledColor,\n    previewCls = token.previewCls,\n    zIndexPopup = token.zIndexPopup,\n    motionDurationSlow = token.motionDurationSlow;\n  var operationBg = new TinyColor(modalMaskBg).setAlpha(0.1);\n  var operationBgHover = operationBg.clone().setAlpha(0.2);\n  return _ref3 = {}, _defineProperty(_ref3, \"\".concat(previewCls, \"-switch-left, \").concat(previewCls, \"-switch-right\"), (_$concat$concat = {\n    position: 'fixed',\n    insetBlockStart: '50%',\n    zIndex: zIndexPopup + 1,\n    display: 'flex',\n    alignItems: 'center',\n    justifyContent: 'center',\n    width: token.imagePreviewSwitchSize,\n    height: token.imagePreviewSwitchSize,\n    marginTop: -token.imagePreviewSwitchSize / 2,\n    color: token.imagePreviewOperationColor,\n    background: operationBg.toRgbString(),\n    borderRadius: '50%',\n    transform: \"translateY(-50%)\",\n    cursor: 'pointer',\n    transition: \"all \".concat(motionDurationSlow),\n    pointerEvents: 'auto',\n    '&:hover': {\n      background: operationBgHover.toRgbString()\n    }\n  }, _defineProperty(_$concat$concat, \"&-disabled\", {\n    '&, &:hover': _defineProperty({\n      color: imagePreviewOperationDisabledColor,\n      background: 'transparent',\n      cursor: 'not-allowed'\n    }, \"> \".concat(iconCls), {\n      cursor: 'not-allowed'\n    })\n  }), _defineProperty(_$concat$concat, \"> \".concat(iconCls), {\n    fontSize: token.imagePreviewOperationSize\n  }), _$concat$concat)), _defineProperty(_ref3, \"\".concat(previewCls, \"-switch-left\"), {\n    insetInlineStart: token.marginSM\n  }), _defineProperty(_ref3, \"\".concat(previewCls, \"-switch-right\"), {\n    insetInlineEnd: token.marginSM\n  }), _ref3;\n};\nexport var genImagePreviewStyle = function genImagePreviewStyle(token) {\n  var _$concat2, _ref6;\n  var motionEaseOut = token.motionEaseOut,\n    previewCls = token.previewCls,\n    motionDurationSlow = token.motionDurationSlow,\n    componentCls = token.componentCls;\n  return [_defineProperty({}, \"\".concat(componentCls, \"-preview-root\"), (_$concat2 = {}, _defineProperty(_$concat2, previewCls, {\n    height: '100%',\n    textAlign: 'center',\n    pointerEvents: 'none'\n  }), _defineProperty(_$concat2, \"\".concat(previewCls, \"-body\"), Object.assign(Object.assign({}, genBoxStyle()), {\n    overflow: 'hidden'\n  })), _defineProperty(_$concat2, \"\".concat(previewCls, \"-img\"), {\n    maxWidth: '100%',\n    maxHeight: '100%',\n    verticalAlign: 'middle',\n    transform: 'scale3d(1, 1, 1)',\n    cursor: 'grab',\n    transition: \"transform \".concat(motionDurationSlow, \" \").concat(motionEaseOut, \" 0s\"),\n    userSelect: 'none',\n    pointerEvents: 'auto',\n    '&-wrapper': Object.assign(Object.assign({}, genBoxStyle()), {\n      transition: \"transform \".concat(motionDurationSlow, \" \").concat(motionEaseOut, \" 0s\"),\n      // https://github.com/ant-design/ant-design/issues/39913\n      // TailwindCSS will reset img default style.\n      // Let's set back.\n      display: 'flex',\n      justifyContent: 'center',\n      alignItems: 'center',\n      '&::before': {\n        display: 'inline-block',\n        width: 1,\n        height: '50%',\n        marginInlineEnd: -1,\n        content: '\"\"'\n      }\n    })\n  }), _defineProperty(_$concat2, \"\".concat(previewCls, \"-moving\"), _defineProperty({}, \"\".concat(previewCls, \"-preview-img\"), {\n    cursor: 'grabbing',\n    '&-wrapper': {\n      transitionDuration: '0s'\n    }\n  })), _$concat2)), // Override\n  _defineProperty({}, \"\".concat(componentCls, \"-preview-root\"), _defineProperty({}, \"\".concat(previewCls, \"-wrap\"), {\n    zIndex: token.zIndexPopup\n  })), (_ref6 = {}, _defineProperty(_ref6, \"\".concat(componentCls, \"-preview-operations-wrapper\"), {\n    position: 'fixed',\n    insetBlockStart: 0,\n    insetInlineEnd: 0,\n    zIndex: token.zIndexPopup + 1,\n    width: '100%'\n  }), _defineProperty(_ref6, '&', [genPreviewOperationsStyle(token), genPreviewSwitchStyle(token)]), _ref6)];\n};\nvar genImageStyle = function genImageStyle(token) {\n  var _componentCls;\n  var componentCls = token.componentCls;\n  return _defineProperty({}, componentCls, (_componentCls = {\n    position: 'relative',\n    display: 'inline-block'\n  }, _defineProperty(_componentCls, \"\".concat(componentCls, \"-img\"), {\n    width: '100%',\n    height: 'auto',\n    verticalAlign: 'middle'\n  }), _defineProperty(_componentCls, \"\".concat(componentCls, \"-img-placeholder\"), {\n    backgroundColor: token.colorBgContainerDisabled,\n    backgroundImage: \"url('')\",\n    backgroundRepeat: 'no-repeat',\n    backgroundPosition: 'center center',\n    backgroundSize: '30%'\n  }), _defineProperty(_componentCls, \"\".concat(componentCls, \"-mask\"), Object.assign({}, genImageMaskStyle(token))), _defineProperty(_componentCls, \"\".concat(componentCls, \"-mask:hover\"), {\n    opacity: 1\n  }), _defineProperty(_componentCls, \"\".concat(componentCls, \"-placeholder\"), Object.assign({}, genBoxStyle())), _componentCls));\n};\nvar genPreviewMotion = function genPreviewMotion(token) {\n  var _ref8;\n  var previewCls = token.previewCls;\n  return _ref8 = {}, _defineProperty(_ref8, \"\".concat(previewCls, \"-root\"), initZoomMotion(token, 'zoom')), _defineProperty(_ref8, \"&\", initFadeMotion(token, true)), _ref8;\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Image', function (token) {\n  var imagePreviewOperationColor = new TinyColor(token.colorTextLightSolid);\n  var previewCls = \"\".concat(token.componentCls, \"-preview\");\n  var imageToken = mergeToken(token, {\n    previewCls: previewCls,\n    imagePreviewOperationColor: imagePreviewOperationColor.toRgbString(),\n    imagePreviewOperationDisabledColor: new TinyColor(imagePreviewOperationColor).setAlpha(0.25).toRgbString(),\n    modalMaskBg: new TinyColor('#000').setAlpha(0.45).toRgbString(),\n    imagePreviewOperationSize: token.fontSizeIcon * 1.5,\n    imagePreviewSwitchSize: token.controlHeightLG\n  });\n  return [genImageStyle(imageToken), genImagePreviewStyle(imageToken), genModalMaskStyle(mergeToken(imageToken, {\n    componentCls: previewCls\n  })), genPreviewMotion(imageToken)];\n}, function (token) {\n  return {\n    zIndexPopup: token.zIndexPopupBase + 80\n  };\n});","map":{"version":3,"names":["TinyColor","genModalMaskStyle","initZoomMotion","initFadeMotion","genComponentStyleHook","mergeToken","resetComponent","textEllipsis","genBoxStyle","position","inset","genImageMaskStyle","token","iconCls","motionDurationSlow","paddingXXS","marginXXS","prefixCls","display","alignItems","justifyContent","color","background","setAlpha","toRgbString","cursor","opacity","transition","Object","assign","padding","marginInlineEnd","genPreviewOperationsStyle","previewCls","modalMaskBg","paddingSM","imagePreviewOperationDisabledColor","operationBg","operationBgHover","clone","flexDirection","imagePreviewOperationColor","listStyle","pointerEvents","marginInlineStart","left","_skip_check_","value","transform","fontSize","imagePreviewOperationSize","genPreviewSwitchStyle","zIndexPopup","insetBlockStart","zIndex","width","imagePreviewSwitchSize","height","marginTop","borderRadius","insetInlineStart","marginSM","insetInlineEnd","genImagePreviewStyle","motionEaseOut","componentCls","textAlign","overflow","maxWidth","maxHeight","verticalAlign","userSelect","content","transitionDuration","genImageStyle","backgroundColor","colorBgContainerDisabled","backgroundImage","backgroundRepeat","backgroundPosition","backgroundSize","genPreviewMotion","colorTextLightSolid","imageToken","fontSizeIcon","controlHeightLG","zIndexPopupBase"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/image/style/index.js"],"sourcesContent":["import { TinyColor } from '@ctrl/tinycolor';\nimport { genModalMaskStyle } from '../../modal/style';\nimport { initZoomMotion, initFadeMotion } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent, textEllipsis } from '../../style';\nexport const genBoxStyle = position => ({\n  position: position || 'absolute',\n  inset: 0\n});\nexport const genImageMaskStyle = token => {\n  const {\n    iconCls,\n    motionDurationSlow,\n    paddingXXS,\n    marginXXS,\n    prefixCls\n  } = token;\n  return {\n    position: 'absolute',\n    inset: 0,\n    display: 'flex',\n    alignItems: 'center',\n    justifyContent: 'center',\n    color: '#fff',\n    background: new TinyColor('#000').setAlpha(0.5).toRgbString(),\n    cursor: 'pointer',\n    opacity: 0,\n    transition: `opacity ${motionDurationSlow}`,\n    [`.${prefixCls}-mask-info`]: Object.assign(Object.assign({}, textEllipsis), {\n      padding: `0 ${paddingXXS}px`,\n      [iconCls]: {\n        marginInlineEnd: marginXXS\n      }\n    })\n  };\n};\nexport const genPreviewOperationsStyle = token => {\n  const {\n    previewCls,\n    modalMaskBg,\n    paddingSM,\n    imagePreviewOperationDisabledColor,\n    motionDurationSlow\n  } = token;\n  const operationBg = new TinyColor(modalMaskBg).setAlpha(0.1);\n  const operationBgHover = operationBg.clone().setAlpha(0.2);\n  return {\n    [`${previewCls}-operations`]: Object.assign(Object.assign({}, resetComponent(token)), {\n      display: 'flex',\n      flexDirection: 'row-reverse',\n      alignItems: 'center',\n      color: token.imagePreviewOperationColor,\n      listStyle: 'none',\n      background: operationBg.toRgbString(),\n      pointerEvents: 'auto',\n      '&-operation': {\n        marginInlineStart: paddingSM,\n        padding: paddingSM,\n        cursor: 'pointer',\n        transition: `all ${motionDurationSlow}`,\n        '&:hover': {\n          background: operationBgHover.toRgbString()\n        },\n        '&-disabled': {\n          color: imagePreviewOperationDisabledColor,\n          pointerEvents: 'none'\n        },\n        '&:last-of-type': {\n          marginInlineStart: 0\n        }\n      },\n      '&-progress': {\n        position: 'absolute',\n        left: {\n          _skip_check_: true,\n          value: '50%'\n        },\n        transform: 'translateX(-50%)'\n      },\n      '&-icon': {\n        fontSize: token.imagePreviewOperationSize\n      }\n    })\n  };\n};\nexport const genPreviewSwitchStyle = token => {\n  const {\n    modalMaskBg,\n    iconCls,\n    imagePreviewOperationDisabledColor,\n    previewCls,\n    zIndexPopup,\n    motionDurationSlow\n  } = token;\n  const operationBg = new TinyColor(modalMaskBg).setAlpha(0.1);\n  const operationBgHover = operationBg.clone().setAlpha(0.2);\n  return {\n    [`${previewCls}-switch-left, ${previewCls}-switch-right`]: {\n      position: 'fixed',\n      insetBlockStart: '50%',\n      zIndex: zIndexPopup + 1,\n      display: 'flex',\n      alignItems: 'center',\n      justifyContent: 'center',\n      width: token.imagePreviewSwitchSize,\n      height: token.imagePreviewSwitchSize,\n      marginTop: -token.imagePreviewSwitchSize / 2,\n      color: token.imagePreviewOperationColor,\n      background: operationBg.toRgbString(),\n      borderRadius: '50%',\n      transform: `translateY(-50%)`,\n      cursor: 'pointer',\n      transition: `all ${motionDurationSlow}`,\n      pointerEvents: 'auto',\n      '&:hover': {\n        background: operationBgHover.toRgbString()\n      },\n      [`&-disabled`]: {\n        '&, &:hover': {\n          color: imagePreviewOperationDisabledColor,\n          background: 'transparent',\n          cursor: 'not-allowed',\n          [`> ${iconCls}`]: {\n            cursor: 'not-allowed'\n          }\n        }\n      },\n      [`> ${iconCls}`]: {\n        fontSize: token.imagePreviewOperationSize\n      }\n    },\n    [`${previewCls}-switch-left`]: {\n      insetInlineStart: token.marginSM\n    },\n    [`${previewCls}-switch-right`]: {\n      insetInlineEnd: token.marginSM\n    }\n  };\n};\nexport const genImagePreviewStyle = token => {\n  const {\n    motionEaseOut,\n    previewCls,\n    motionDurationSlow,\n    componentCls\n  } = token;\n  return [{\n    [`${componentCls}-preview-root`]: {\n      [previewCls]: {\n        height: '100%',\n        textAlign: 'center',\n        pointerEvents: 'none'\n      },\n      [`${previewCls}-body`]: Object.assign(Object.assign({}, genBoxStyle()), {\n        overflow: 'hidden'\n      }),\n      [`${previewCls}-img`]: {\n        maxWidth: '100%',\n        maxHeight: '100%',\n        verticalAlign: 'middle',\n        transform: 'scale3d(1, 1, 1)',\n        cursor: 'grab',\n        transition: `transform ${motionDurationSlow} ${motionEaseOut} 0s`,\n        userSelect: 'none',\n        pointerEvents: 'auto',\n        '&-wrapper': Object.assign(Object.assign({}, genBoxStyle()), {\n          transition: `transform ${motionDurationSlow} ${motionEaseOut} 0s`,\n          // https://github.com/ant-design/ant-design/issues/39913\n          // TailwindCSS will reset img default style.\n          // Let's set back.\n          display: 'flex',\n          justifyContent: 'center',\n          alignItems: 'center',\n          '&::before': {\n            display: 'inline-block',\n            width: 1,\n            height: '50%',\n            marginInlineEnd: -1,\n            content: '\"\"'\n          }\n        })\n      },\n      [`${previewCls}-moving`]: {\n        [`${previewCls}-preview-img`]: {\n          cursor: 'grabbing',\n          '&-wrapper': {\n            transitionDuration: '0s'\n          }\n        }\n      }\n    }\n  },\n  // Override\n  {\n    [`${componentCls}-preview-root`]: {\n      [`${previewCls}-wrap`]: {\n        zIndex: token.zIndexPopup\n      }\n    }\n  },\n  // Preview operations & switch\n  {\n    [`${componentCls}-preview-operations-wrapper`]: {\n      position: 'fixed',\n      insetBlockStart: 0,\n      insetInlineEnd: 0,\n      zIndex: token.zIndexPopup + 1,\n      width: '100%'\n    },\n    '&': [genPreviewOperationsStyle(token), genPreviewSwitchStyle(token)]\n  }];\n};\nconst genImageStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    // ============================== image ==============================\n    [componentCls]: {\n      position: 'relative',\n      display: 'inline-block',\n      [`${componentCls}-img`]: {\n        width: '100%',\n        height: 'auto',\n        verticalAlign: 'middle'\n      },\n      [`${componentCls}-img-placeholder`]: {\n        backgroundColor: token.colorBgContainerDisabled,\n        backgroundImage: \"url('')\",\n        backgroundRepeat: 'no-repeat',\n        backgroundPosition: 'center center',\n        backgroundSize: '30%'\n      },\n      [`${componentCls}-mask`]: Object.assign({}, genImageMaskStyle(token)),\n      [`${componentCls}-mask:hover`]: {\n        opacity: 1\n      },\n      [`${componentCls}-placeholder`]: Object.assign({}, genBoxStyle())\n    }\n  };\n};\nconst genPreviewMotion = token => {\n  const {\n    previewCls\n  } = token;\n  return {\n    [`${previewCls}-root`]: initZoomMotion(token, 'zoom'),\n    [`&`]: initFadeMotion(token, true)\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Image', token => {\n  const imagePreviewOperationColor = new TinyColor(token.colorTextLightSolid);\n  const previewCls = `${token.componentCls}-preview`;\n  const imageToken = mergeToken(token, {\n    previewCls,\n    imagePreviewOperationColor: imagePreviewOperationColor.toRgbString(),\n    imagePreviewOperationDisabledColor: new TinyColor(imagePreviewOperationColor).setAlpha(0.25).toRgbString(),\n    modalMaskBg: new TinyColor('#000').setAlpha(0.45).toRgbString(),\n    imagePreviewOperationSize: token.fontSizeIcon * 1.5,\n    imagePreviewSwitchSize: token.controlHeightLG\n  });\n  return [genImageStyle(imageToken), genImagePreviewStyle(imageToken), genModalMaskStyle(mergeToken(imageToken, {\n    componentCls: previewCls\n  })), genPreviewMotion(imageToken)];\n}, token => ({\n  zIndexPopup: token.zIndexPopupBase + 80\n}));"],"mappings":";AAAA,SAASA,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,iBAAiB,QAAQ,mBAAmB;AACrD,SAASC,cAAc,EAAEC,cAAc,QAAQ,oBAAoB;AACnE,SAASC,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE,SAASC,cAAc,EAAEC,YAAY,QAAQ,aAAa;AAC1D,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAW,CAAGC,QAAQ;EAAA,OAAK;IACtCA,QAAQ,EAAEA,QAAQ,IAAI,UAAU;IAChCC,KAAK,EAAE;EACT,CAAC;AAAA,CAAC;AACF,OAAO,IAAMC,iBAAiB,GAAG,SAApBA,iBAAiB,CAAGC,KAAK,EAAI;EACxC,IACEC,OAAO,GAKLD,KAAK,C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